﻿(function(){
	var path = location.protocol + "//" + location.host + "/";
	require.config({
	    baseUrl: '',
	    paths: {
	        //Mvvm
	        avalon: path + "Scripts/avalon/avalon.modern.min",
	        //JQuery
	        jquery: path + "Scripts/jquery/jquery-1.10.1.min",
	        //Cookie
	        cookie: path + "Scripts/jquery/cookie",
	        //首页滚动
	        //swiper: path + "scripts/other/swiper-3.3.1.jquery.min",
            //圆圈效果
            //circle: path + "scripts/other/progress",
	        //其他通用杂项
	        //other : path + "scripts/other/other"
	    },

        map: {
            '*': {
                //引入这个JS,下面的依赖项才能加载Css
                'css': path + 'Scripts/require/css.min.js'
            }
        },
	    
	    shim:{
            //依赖项
	        swiper : { deps: ['css!' + path + 'Content/Layout/css/swiper-3.3.1.min.css','jquery'], exports: 'swiper'},
            other : { deps: ['avalon'], exports: 'other'}
	    }
	});

})();